#include "mainwindow.h"

#include <QtGui/QApplication>
#include "iapserver.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    MainWindow mainWindow;
    mainWindow.showExpanded();

    int result = KErrGeneral;
    CIAPServer::NewLC(); // server instantiation

    result = app.exec();
    CleanupStack::PopAndDestroy(); // server destroying
    return result;
}
